package com.itheima.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("活动饼图数据封装")
@Data
public class ActivityPieDto {
    @ApiModelProperty("活动名称")
    private String activity;
    @ApiModelProperty("活动相关成交合同数量")
    private Integer num;
    @ApiModelProperty("活动id")
    private Long activityId;

    public ActivityPieDto(String activity, Integer num, Long activityId) {
        this.activity = activity;
        this.num = num;
        this.activityId = activityId;
    }

    public ActivityPieDto() {
    }
}
